//
//  MyAttentionTableView.h
//  1gene
//
//  Created by 1jiyin on 16/3/16.
//  Copyright © 2016年 1jiyin. All rights reserved.
//
@protocol MyAttentionTableViewDelegate <NSObject>
/*
 *放大图片
 */
-(void)bigImage:(NSInteger)currentIndex AndImageArrays:(NSArray *)imageArrays;
/*
 *进入帖子详情界面
 */
-(void)gotoXiangQingViewController:(NSString *)topicId;
/*
 *功能选择
 */
-(void)chooseFunction:(NSInteger)index;
/*
 *返回上一页
 */
-(void)gotoUpViewController;
/*
 *点击用户头像
 */
-(void)userHeadClick;
/*
 *更多标签按钮点击事件
 */
-(void)moreBiaoQianBtnClick:(NSMutableArray *)arr;

/*
 *个性签名完整显示
 */
-(void)allPersonalNameBtnClick:(NSString *)name;
/*
 *
 */
-(void)startChat:(NSString *)userId;

-(void)startReport;

//更多
-(void)moreSelectedIndex:(NSInteger)index;
@end


#import <UIKit/UIKit.h>

@interface MyAttentionTableView : UITableView<UITableViewDataSource,UITableViewDelegate,UIScrollViewDelegate>
/*
 *数据源
 */
@property(nonatomic,copy)NSMutableArray *dataArray;
/*
 *模型数据源
 */
@property(nonatomic,copy)NSArray *arr;
/*
 *自定义代理方法
 */
@property(nonatomic,assign)id <MyAttentionTableViewDelegate>imgDelegate;
/*
 *个性签名
 */
@property(nonatomic,copy)NSString *myPersonalName;
/*
 *是否隐藏头视图 0否 1是
 */
@property(nonatomic,assign)BOOL hideHeaderView;
-(instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style hideheaderView:(BOOL)hide userId:(NSString *)userId withIsFriend:(BOOL)isFriend;

-(instancetype)initWithFrame:(CGRect)frame style:(UITableViewStyle)style hideheaderView:(BOOL)hide userId:(NSString *)userId;

@end
